package org.smart4j.framework.util;

import org.smart4j.framework.helper.*;

/**
 * 加载相应的 Helper 类
 * User:wangkaijin
 * Date: 2017/7/19
 */

public final class HelperLoader {
    public static void init(){
        Class<?>[] classList = {
                ClassHelper.class,
                BeanHelper.class,
                AopHelper.class,
                IocHelper.class,
                ControllerHelper.class
        };
        for(Class<?> cls : classList) {
            ClassUtil.loadClass(cls.getName(), true);
        }
        int size = BeanHelper.getBeanMap().size();
        System.out.println(size);
    }
}
